﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WarOfDev.EF;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.WebPages.Html;

namespace WarOfDev.Web.ViewModels
{
    public class RoleViewModel : BaseViewModel
    {
        [Required]
        [DisplayName("Role")]
        public string RoleName { get; set; }

        [Required]
        [DisplayName("Department")]
        public string GroupId { get; set; }

        public string GroupName { get; set; }

        public IEnumerable<GroupRole> Groups { get; set; }

        public string Description { get; set; }

        public string Permissions { get; set; }


    }
}